package com.struts.business.dao;

import com.struts.business.formbean.UserForm;
import com.struts.core.annotation.Repository;

@Repository
public class UserDao {
	
	public boolean isAdmin(UserForm user){
		boolean tag = false;
		if("admin".equals(user.getPassword())){
			tag = true;
		}else{
			tag = false;
		}
		return tag;
	}

}
